package com.heima.model.user.dtos;

import com.heima.model.common.dtos.PageRequestDto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @Description: CityDto
 * @Version: V1.0
 */
@Data
@ApiModel("CityDto")
public class CityDto extends PageRequestDto {

        @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
	private Integer id; //id



        @ApiModelProperty("城市名称")
    @TableField("name")
	private String name;//城市名称

    @ApiModelProperty("城市编码")
    @TableField("code")
	private String code;//城市编码

    @ApiModelProperty("是否开放")
    @TableField("is_open")
	private String isOpen;//是否开放


}
